package com.ruoyi.durian.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.durian.domain.LlMap;
import com.ruoyi.durian.domain.LlSearchHistory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.durian.domain.dto.SearchHistoryDto;

import java.util.List;

/**
* @author lenovo
* @description 针对表【ll_search_history(订单模块-搜索历史记录)】的数据库操作Service
* @createDate 2024-07-26 16:17:15
*/
public interface LlSearchHistoryService extends IService<LlSearchHistory> {

    /**
     * 历史搜索记录
     *
     * @return
     */
    List<SearchHistoryDto> searchHistory();

    /**
     * 搜索
     * @param name
     * @return
     */
    List<LlMap> searchLike(String name);
}
